package com.example.demo.service.impl;

import com.example.demo.entity.UserEntity;
import com.example.demo.mapping.MyFristMybatisMapping;
import com.example.demo.service.MyFristMybatisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MyFristMybatisServiceImpl implements MyFristMybatisService {

    @Autowired
    private MyFristMybatisMapping myFristMybatisMapping;


    @Override
    public List<UserEntity> queryUserList(UserEntity userEntity) {

        return myFristMybatisMapping.selectUser(userEntity);
    }
}
